home *** CD-ROM | disk | FTP | other *** search
- Path: dig.almaden.ibm.com!lynch
- From: lynch@dig.almaden.ibm.com (Rob Lynch)
- Newsgroups: comp.lang.c
- Subject: compound assignment and logical operators
- Date: 19 Jan 1996 01:57:44 GMT
- Organization: IBM Almaden Research Center
- Message-ID: <4dmtqo$dt8@fox.almaden.ibm.com>
- NNTP-Posting-Host: dig.almaden.ibm.com
-
- Compound assignment (a op= b) is defined for all the binary operators
- except relational and equality (< <= >= > == !=). In particular, they
- are defined for the bitwise-logical operators (& ^ |). Why are they
- not defined for the logical operators (&& ||)?
-
- ----
- Rob Lynch IBM Research Division
- lynch@almaden.ibm.com Almaden Research Center
- (408)927-2025 San Jose, CA 95120
-